package com.syh.jn.scm.domain.operation.repository.financial;

import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.jn.scm.domain.operation.entity.financial.FinancialContact;

public interface FinancialContactRepository extends FinancialContactReadRepository,AggregateRepository<FinancialContact, Long> {
  /**
   * 暂停合作
   *
   * @param financialContact
   * @return
   */
  public Boolean disabled(FinancialContact financialContact);
  /**
   * 开启合作
   *
   * @param financialContact
   * @return
   */
  public Boolean enabled(FinancialContact financialContact);
}
